package com.sss.demo.entity;

/*
*   根据数据库的表创建的实体类
*
*   JavaBean
*       1.拥有私有化变量
*       2.拥有公共的getter/setter方法
*       3.实现可序化
* */
public class User {
    private Integer id;
    private String name;
    private String password;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
